package com.xe.core;

import java.util.Date;

public class XEResource {

	public static String FOLDER="FOLDER";
	public static String FILE="FILE";
	
	String path;
	String source;
	String type;
	Date updateDate;

	public XEResource(String path,String type) {
		this.path=path;
		this.type=type;
	}
	
	public boolean isFolder(){
		  boolean f=FOLDER.equalsIgnoreCase(type);
		  return f;
	}
	public boolean isFile(){
		  boolean f=FILE.equalsIgnoreCase(type);
		  return f;
		}
	
	
	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	
	
	
	
}
